<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Sepanta.Sms.ServiceContract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Sepanta.Sms.ServiceContract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ReceivedMessagesRequestDto">
    <xs:sequence>
      <xs:element minOccurs="0" name="LineId" type="xs:int" />
      <xs:element minOccurs="0" name="RegisterDateTimeFromInclusive" type="xs:dateTime" />
      <xs:element minOccurs="0" name="RegisterDateTimeToExclusive" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReceivedMessagesRequestDto" nillable="true" type="tns:ReceivedMessagesRequestDto" />
  <xs:complexType name="ArrayOfReceivedMessageInfoDto">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ReceivedMessageInfoDto" nillable="true" type="tns:ReceivedMessageInfoDto" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfReceivedMessageInfoDto" nillable="true" type="tns:ArrayOfReceivedMessageInfoDto" />
  <xs:complexType name="ReceivedMessageInfoDto">
    <xs:sequence>
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReceiveDateTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="SenderNumber" type="xs:long" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ReceivedMessageInfoDto" nillable="true" type="tns:ReceivedMessageInfoDto" />
  <xs:complexType name="ErrorData">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Detail" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ErrorData" nillable="true" type="tns:ErrorData" />
  <xs:complexType name="LineReceiveRequestDto">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LineRequestDto">
        <xs:sequence>
          <xs:element minOccurs="0" name="RegisterDateTimeFromInclusive" type="xs:dateTime" />
          <xs:element minOccurs="0" name="RegisterDateTimeToExclusive" type="xs:dateTime" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LineReceiveRequestDto" nillable="true" type="tns:LineReceiveRequestDto" />
  <xs:complexType name="LineRequestDto">
    <xs:sequence>
      <xs:element minOccurs="0" name="LineId" type="xs:int" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LineRequestDto" nillable="true" type="tns:LineRequestDto" />
</xs:schema>